export const asyncRoutes = {
  // 404 page must be placed at the end !!!
  // { path: '*', redirect: '/404', hidden: true },
   // 最后添加
   'system_user': {
      routes: [
        {
          component: () => import('@/views/auth/user/list.vue'),
          path: 'user_list',
          hidden: false
        }
      ]
    },  
    'system_role': {
      routes: [
        {
          component: () => import('@/views/auth/role/list.vue'),
          path: 'role_list',
          hidden: false
        }
      ]
    },  
    'system_menu': {
      routes: [
        {
          component: () => import('@/views/auth/menu/menu.vue'),
          path: 'menu_list',
          hidden: false
        }
      ]
    },
    'download_apps': {
      routes: [
        {
          component: () => import('@/views/About.vue'),
          path: 'download_apps',
          hidden: false
        }
      ]
    },
    'download_docs': {
      routes: [
        {
          component: () => import('@/views/Home.vue'),
          path: 'download_docs',
          hidden: false
        }
      ]
    },  
  //  {
  //   path: '/auth',
  //   component: Layout,
  //   name: 'auth',
  //   redirect: '',
  //   meta: {
  //     title: '权限管理',
  //     icon: 'lock'
  //   },
  //   children: [
  //     { path: 'user_list', component: () => import('@/views/auth/user/list.vue'), name: 'user_list', meta: { title: '用户管理' }},
  //     { path: 'role_list', component: () => import('@/views/auth/role/list.vue'), name: 'role_list', meta: { title: '角色管理' }},
  //     { path: 'menu_list', component: () => import('@/views/auth/menu/menu.vue'), name: 'role_list', meta: { title: '菜单管理' }}
  //   ]
  // },
  // {
  //   path: '/help',
  //   component: Layout,
  //   name: 'help',
  //   redirect: '',
  //   meta: {
  //     title: '系统帮助',
  //     icon: 'star'
  //   },
  //   children: [
  //     { path: 'download_apps', component: () => import('@/views/About.vue'), name: 'download_apps', meta: { title: '终端应用下载' }},
  //     { path: 'download_docs', component: () => import('@/views/Home.vue'), name: 'download_docs', meta: { title: '文档下载' }}
  //   ]
  // }
}